﻿using EntityFramework.Entity.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YouTravel.DomainModels
{
    /// <summary>
    /// 扣款类型
    /// </summary>
    public class Deduction : EntityBase
    {
        /// <summary>
        /// 扣款类型名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 状态
        /// True-正常 false-已废弃
        /// </summary>
        public bool Status { get; set; }
        /// <summary>
        /// 机构编号
        /// </summary>
        public int BranchId { get; set; }
        /// <summary>
        /// 所属机构
        /// </summary>
        public virtual Branch Branch { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public int CreaterId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public virtual User Creater { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新人Id
        /// </summary>
        public int UpdaterId { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public virtual User Updater { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
